home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Animation How-To
/
Animation How-to CD.iso
/
PLY
/
CHAPTER7
/
ASTEROID
/
ASTEROID.PI
next >
Wrap
Text File
|
1994-01-01
|
1KB
|
63 lines
// interior blob reflection
// jeff bowermaster 10/21/93
include "\ply\colors.inc"
include "anim"
viewpoint {
from < frx, fry, frz >
at < atx, aty, atz >
up < upx, upy, upz >
angle 50
resolution 160,120
aspect 1.433
}
background SkyBlue
//light <1.0,1.0,1.0>,<5,0,0>
light <1.0,1.0,1.0>,<0,10,0>
light <1.0,1.0,1.0>,<0,0,10>
light <1.0,1.0,1.0>,<-10,0,0>
light <1.0,1.0,1.0>,<0,-10,0>
light <1.0,1.0,1.0>,<0,0,-10>
define asteroid
object {
blob 6.6:
7, 3.0,< 0, 0, 0 >,
3, 1.0,< 1, 1, 1 >,
3, 1.0,< -1, 1, 1 >,
3, 1.0,< 1, -1, 1 >,
3, 1.0,< -1, -1, 1 >,
3, 1.0,< 1, 1, -1 >,
3, 1.0,< -1, 1, -1 >,
3, 1.0,< 1, -1, -1 >,
3, 1.0,< -1, -1, -1 >,
3, 1.0,< 0, 1, 1 >,
3, 1.0,< 0, 1, -1 >,
3, 1.0,< 0, -1, 1 >,
3, 1.0,< 0, -1, -1 >,
3, 1.0,< 1, 0, 1 >,
3, 1.0,< 1, 0, -1 >,
3, 1.0,< -1, 0, 1 >,
3, 1.0,< -1, 0, -1 >,
3, 1.0,< 1, 1, 0 >,
3, 1.0,< 1, -1, 0 >,
3, 1.0,< -1, 1, 0 >,
3, 1.0,< -1, -1, 0 >
root_solver Sturm
u_steps 20
v_steps 20
shiny_coral
}
asteroid
asteroid
{
translate <8,0,0>
}